package com.znsd.zl.app.customize.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.znsd.zl.app.customize.entity.CustomizeEntity;



/**
 * @ClassName TCustomize
 * @Description 描述
 * @author zhangzhou
 * @email jaypdd@163.com
 * @date 2020-08-30 15:42:52
 * @Version v1.0
 */
public interface CustomizeService extends IService<CustomizeEntity> {

	/**
	 * 将定制状态改为已定制
	 * @param id
	 * @return
	 */
	boolean setStatusSuccess(Integer id);

	/**
	 * 将定制状态改为取消
	 * @param name
	 * @return
	 */
	boolean setStatusCancel(String name);

	/**
	 * 根据名字查询
	 * @param name
	 * @return
	 */
	CustomizeEntity findByName(String name);

	/**
	 * 删除
	 * @param id
	 */
	void isDelete(Integer id);

}

